package com.education.service.impl;

import com.education.domain.Tbgrade;
import com.education.domain.TbgradeExample;
import com.education.mapper.TbgradeMapper;
import com.education.service.GradeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by zhangjiawen on 2019/11/22.
 */
@Service
public class GradeServiceImpl implements GradeService {
    @Autowired
    private TbgradeMapper tbgradeMapper;

    @Override
    public List<Tbgrade> getAll() {
        return tbgradeMapper.selectByExample(new TbgradeExample());
    }

    @Override
    public List<Tbgrade> getByCondition(Tbgrade tbgrade) {

        return null;
    }
}
